package org.example.demosystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.example.demosystem.entity.Student;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

@Component
public interface StudentService {
    Page<Student> getStudentsByPage(int pageNum, int pageSize, String name);


    void removeById(int sno);

    void save(Student student);
}
